PreviousNextTracker indexSee it online !

(78/207) 1903613 - Rapid search

Searching in multiple buffers or directories can be slow. Searching can be greatly sped up using indexing -- e.g. using lucene.

The only issue is that indexing must be done ahead of time. What should be indexed? Suggestions:
1) Current open buffers
2) Last 'n' directories on which a directory search has been done
3) Current project

For (3), this feature would be most useful if jEdit had a proper "Search current project" feature that integrated with the ProjectViewer plugin. Then all the files in the current project could be indexed, and the index updated as files in the project changed.

Submitted cmcqueen1975 - 2008-02-28 - 02:23:41z Assigned nobody
Priority 5 Category None
Status Open Group None
Resolution None Visibility No

Comments

2008-02-28 - 02:34:09z
cmcqueen1975
Logged In: YES
user_id=1579704
Originator: YES

This seems to overlap a bit conceptually with CScopeFinder. See also #1605873 regarding working with ProjectViewer, which ties in with my comments on indexing point (3).
2008-02-28 - 02:36:50z
cmcqueen1975
Logged In: YES
user_id=1579704
Originator: YES

Regarding "Search current project" see #1903615.
2008-02-28 - 02:53:37z
elberry
Logged In: YES
user_id=1205438
Originator: NO

I'm building a LucenePlugin which will at least let you search through multiple directories (all the "indexable" files within those directories).

Searching through open buffers sounds like a good feature of this plugin as well. I'll definitely take it into consideration.

Attachments